import type {optionsType} from "@/api";
export interface optionsLabelType extends optionsType{
    color?: string
}
export const roleOptions: optionsLabelType[] = [
    {label: "管理员", value: 1, color: "red"},
    {label: "用户", value: 2, color: "blue"}
]
//模型
export const bigModelOptions : optionsLabelType[] = [
    {label: "chatGPT", value: "chatGPT"},
    {label: "星火大模型", value: "星火大模型"}
]


export const aiRoleOrderTypeOptions: optionsLabelType[] = [
    {label: "推荐", value: 1, color: "blue"},
    {label: "更新", value: 2, color: "green"},
    {label: "删除", value: 3, color: "red"},
]

export const aiRoleOrderStatusOptions: optionsLabelType[] = [  // 1 未处理 2  拒绝  3 同意
    {label: "待处理", value: 1, color: "blue"},
    {label: "拒绝", value: 2, color: "red"},
    {label: "同意", value: 3, color: "green"},
]

export const logLevelOptions: optionsLabelType[] = [
    {label: "info", value: 1, color: "blue"},
    {label: "warn", value: 2, color: "orange"},
    {label: "error", value: 3, color: "red"},
]


export const orderStatusOptions : optionsLabelType[] = [
    {label: "未支付", value: 1, color: "orange"},
    {label: "已支付", value: 2, color: "blue"},
    {label: "支付超时", value: 3, color: "red"},
]

export const orderPaySourceOptions : optionsLabelType[] = [
    {label: "支付宝", value: 1, color: "blue"},
    {label: "微信", value: 2, color: "green"},
]